<template>
  <div id="app">
    <router-view class="view left-sidebar" name="LeftSidebar"></router-view>
    <router-view class="view main-content" name="Container"></router-view>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { useStore } from 'vuex';

export default defineComponent({
  name: 'App',
  setup() {
    const store = useStore()
    store.dispatch('getRoutes');
    return {}
  }
})
</script>

<style lang="less">
  body{
    padding: 0;
    margin: 0;
  }
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    .main-content {
      flex: 1;
    }
  }
</style>
